package wang.ATM;

public class Account {
    private String Name;
    private String sexy;
    private String Password;
    private double money;


    public String getName() {

        return Name+(sexy == "男" ? "女士" :"先生");
    }

    public void setName(String name) {
        Name = name;
    }

    public String getSexy() {
        return sexy;
    }

    public void setSexy(String sexy) {
        this.sexy = sexy;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getLimit() {
        return limit;
    }

    public void setLimit(double limit) {
        this.limit = limit;
    }

    public String getIdCard() {
        return IdCard;
    }

    public void setIdCard(String idCard) {
        IdCard = idCard;
    }

    private double limit;
    private String IdCard;
}
